/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package wso.bus;

import wso.dto.WsoUser;

/**
 *
 * @author Violet_Ink
 */
public interface UserBus {

    public WsoUser checkLogin(String username, String password);

    public void saveUser(WsoUser user);

    public WsoUser[] getAllUser();

    public WsoUser getUser(String username);

    public WsoUser[] getUserbyRole(String roleid);
}
